//
//  SwiftUIViewModel.swift
//  demo
//
//  Created by Xiaoping Tang on 2023/3/20.
//

import Foundation
import SwiftUI

class SwiftUIViewModel: ObservableObject {
    @Published var id: Int = 0
    
    public func updateId() {
        id = id + 1
    }
}
